package com.wootide.cms.sys.user.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import com.wootide.cms.sys.role.pojo.RoleInfo;

/**
 * 用户信息pojo
 * 〈一句话功能简述〉
 * 〈功能详细描述〉
 * @author ozm
 * @version 2013-1-22
 * @see UserInfo
 * @since 2013-1-22下午1:56:42
 */
public class UserInfo implements java.io.Serializable
{
    
    /**
     * 意义，目的和功能，以及被用到的地方<br>
     */
    private static final long serialVersionUID = 1L;
    
    //用户ID
    private Integer userId;
    
    //    //员工信息
    //    private Staff staff;
    
    //创建者
    private UserInfo creator;
    
    //用户角色
    private RoleInfo roleInfo;
    
    //用户名
    private String userName;
    
    //密码
    private String password;
    
    //是否可用
    private Integer status;
    
    //是否为超级管理员
    private Integer isSys;
    
    
    //创建日期
    private Timestamp createTime;
    
    //有效其
    private Timestamp valid;
    
    //用户描述
    private String userDesc;
    
    //创建日期
    private Timestamp updateTime;
    
    //预订订单集合
    private Set bookOrderInfos = new HashSet(0);
    
    //被创建的用户集合
    private Set userInfos = new HashSet(0);

    public Integer getUserId()
    {
        return userId;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public UserInfo getCreator()
    {
        return creator;
    }

    public void setCreator(UserInfo creator)
    {
        this.creator = creator;
    }

    public RoleInfo getRoleInfo()
    {
        return roleInfo;
    }

    public void setRoleInfo(RoleInfo roleInfo)
    {
        this.roleInfo = roleInfo;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getIsSys()
    {
        return isSys;
    }

    public void setIsSys(Integer isSys)
    {
        this.isSys = isSys;
    }

    public Timestamp getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime)
    {
        this.createTime = createTime;
    }

    public Timestamp getValid()
    {
        return valid;
    }

    public void setValid(Timestamp valid)
    {
        this.valid = valid;
    }

    public String getUserDesc()
    {
        return userDesc;
    }

    public void setUserDesc(String userDesc)
    {
        this.userDesc = userDesc;
    }

    public Timestamp getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime)
    {
        this.updateTime = updateTime;
    }

    public Set getBookOrderInfos()
    {
        return bookOrderInfos;
    }

    public void setBookOrderInfos(Set bookOrderInfos)
    {
        this.bookOrderInfos = bookOrderInfos;
    }

    public Set getUserInfos()
    {
        return userInfos;
    }

    public void setUserInfos(Set userInfos)
    {
        this.userInfos = userInfos;
    }

   
    
 
}